
package com.hlkj.pay.infrastructure.model.merchant.fund;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hlkj.framework.mybatis.core.dataobject.BaseDO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 商户分账账号绑定表
 * 
 * @TableName t_merchant_fund_account_bind
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("t_merchant_fund_account_bind")
public class MerchantFundAccountBindDO extends BaseDO {

    /**
     * 通道code
     */
    @Schema(description = "通道code")
    private String mchChannelCode;

    /**
     * 进件单号
     */
    @Schema(description = "分账接受方名称")
    private String name;
    /**
     * 分账接受方号
     */
    @Schema(description = "分账接受方号")
    private String accountNo;


    @Schema(description = "是否秒到 0：否 1：是")
    private Integer d0;

    /**
     * 是否启用，0：关闭 1 启用
     */
    @Schema(description = "是否启用，0：关闭 1 启用")
    private Integer status;
    /**
     * 分账类型 ，1=系统分账，0=商户手动分账
     */
    @Schema(description = "分账类型 ，1=系统分账，0=商户手动分账")
    private Integer fundProcessType;
    /**
     * 分账费率
     */
    @Schema(description = "分账手续费率")
    private BigDecimal fee;
    /**
     * 分账费率
     */
    @Schema(description = "分账比例")
    private BigDecimal rate;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;

    @Schema(description = "商户是否可见 0：可见 1：不可见")
    private Integer snVisible;

}
